{include file="common/html" /}
    <title>MY COPPER - TENNO 市场</title>
{include file="common/head" /}
{include file="common/top_left" /}
{include file="common/top_right" /}
    <ul class="nav">
        {if !empty($Think.session.user_info)}
        <li class="nav-item active">
            <a href="/myMod">
                <i class="la la-hand-paper-o"></i>
                <p>我发布的物品</p>
                <span class="badge badge-danger">
                        {$Think.session.user_send_count}
                    </span>
            </a>
        </li>
        {/if}
        <li class="nav-item">
            <a href="/">
                <i class="la la-bomb"></i>
                <p>MOD</p>
                <span class="badge badge-count">
                    {$Think.session.count_set.mod_count}
                </span>
            </a>
        </li>
        <li class="nav-item">
            <a href="/weapon">
                <i class="la la-plane"></i>
                <p>PRIME 武器 / 守护</p>
                <span class="badge badge-count">
                    {$Think.session.count_set.weapon_count}
                </span>
            </a>
        </li>
        <li class="nav-item">
            <a href="/warFrame">
                <i class="la la-pied-piper-alt"></i>
                <p>PRIME 战甲</p>
                <span class="badge badge-count">
                    {$Think.session.count_set.war_frame_count}
                </span>
            </a>
        </li>
        <li class="nav-item">
            <a href="/riven">
                <i class="la la-square-o"></i>
                <p>RIVEN</p>
                <span class="badge badge-count">
                   {$Think.session.count_set.riven_count}
                </span>
            </a>
        </li>
        <li class="nav-item">
            <a href="/other">
                <i class="la la-pagelines"></i>
                <p>其他物品</p>
                <span class="badge badge-count">
                    {$Think.session.count_set.other_count}
                </span>
            </a>
        </li>
        <li class="nav-item">
            <a href="/messageBoard">
                <i class="la la-paint-brush"></i>
                <p>留言板</p>
                <span class="badge badge-count">
                    {$Think.session.count_set.message_count}
                </span>
            </a>
        </li>
        <li class="nav-item update-pro">
            <button  data-toggle="modal" data-target="#modalUpdate">
                <i class="la la-hand-pointer-o"></i>
                <p>关于作者</p>
            </button>
        </li>
    </ul>
    </div>
    </div>
    <div class="main-panel">
    <div class="content">
    <div class="container-fluid">
        <h4 class="page-title">MY COPPER GARBAGE \ SELLERS</h4>
        <div class="card">
            <div class="card-header">
                <div class="card-title">
                    <a href="/myMod" class="btn btn-primary">
                        MOD
                    </a>
                    <a href="/myPrimeWeapon" class="btn btn-primary">
                        PRIME 武器 / 守护
                    </a>
                    <a href="/myPrimeWarFrame" class="btn btn-primary">
                        PRIME 战甲
                    </a>
                    <a href="/myRiven" class="btn btn-primary">
                        RIVEN
                    </a>
                    <a href="/myOther" class="btn btn-primary">
                        杂项
                    </a>
                    <a href="/myGoldGarbage" class="btn btn-primary">
                        金垃圾
                    </a>
                    <a href="/mySilverGarbage" class="btn btn-primary">
                        银垃圾
                    </a>
                    <a href="#" class="btn btn-dark">
                        铜垃圾
                    </a>
                    <a href="/mySculpt" class="btn btn-primary">
                        雕塑
                    </a>
                    <a href="/myKuWa" class="btn btn-primary">
                        库娃
                    </a>
                    <a href="/myKuBo" class="btn btn-primary">
                        库伯
                    </a>
                </div>
            </div>
            <div class="card-body">
                <table class="table table-hover table-responsive" style="text-align: center;">
                    <thead>
                    <tr>
                        <th scope="col" width="10%">单价 / 组</th>
                        <th scope="col" width="10%">数量</th>
                        <th scope="col" width="10%">发布时间</th>
                        <th scope="col" width="10%">操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    {volist name='list' id='v'}
                    <tr id="de{$v['id']}" class="animated">
                        <td>
                            <b style="color: red;font-size: 20px;">
                                {$v.unit_price}
                            </b>
                            Platinum
                        </td>
                        <td>
                            <b>
                                {$v.num}
                            </b>
                            组
                        </td>
                        <td>
                            {$v.update_time}
                        </td>
                        <td>
                            <a href="/editCopper/{php}echo base64_encode($v['id']){/php}" class="btn btn-success">
                                <i class="la la-cog" style="font-size: 18px;"></i>
                            </a>
                            <button onclick="deleteOther('{php}echo base64_encode($v['id']){/php}',{$v['id']})" class="btn btn-danger">
                                <i class="la la-close" style="font-size: 18px;"></i>
                            </button>
                        </td>
                    </tr>
                    {/volist}
                    </tbody>
                </table>
                <div id="page_list">
                    {$list|raw}
                </div>
                <style>
                    div#page_list li span{
                        border-radius: 100px !important;
                        margin: 0 2px;
                        color: #777777;
                        border-color: #ddd;
                        position: relative;
                        display: block;
                        padding: .5rem .75rem;
                        line-height: 1.25;
                        background-color: #fff;
                        border: 1px solid #dee2e6;
                    }
                    div#page_list li a{
                        border-radius: 100px !important;
                        margin: 0 2px;
                        color: #777777;
                        border-color: #ddd;
                        position: relative;
                        display: block;
                        padding: .5rem .75rem;
                        line-height: 1.25;
                        background-color: #fff;
                        border: 1px solid #dee2e6;
                    }
                    div#page_list .active span{
                        background: #1D62F0;
                        border-color: #1D62F0;
                        color: #ffffff;
                    }
                </style>
            </div>
        </div>
    </div>
    </div>
{include file="common/footer" /}